//
//  MNDComplectedDepositViewController.m
//  minidai
//
//  Created by Steven.Yung on 2017/5/9.
//  Copyright © 2017年 迷你金服. All rights reserved.
//

#import "MNDComplectedDepositViewController.h"

@interface MNDComplectedDepositViewController ()

@end

@implementation MNDComplectedDepositViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.springView.transform = CGAffineTransformMakeScale(0.2, 0.2);
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated {
    
    [super viewWillAppear:animated];
    
    [UIView animateWithDuration:0.7
                          delay:0.0
         usingSpringWithDamping:0.5
          initialSpringVelocity:0.1
                        options:UIViewAnimationOptionCurveEaseIn
                     animations:^{
                         
                         self.springView.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.0, 1.0);
                     }
                     completion:^(BOOL finished) {
                         
                     }];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
